package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the EQUIP database table.
 * 
 */
@Entity
@NamedQuery(name="Equip.findAll", query="SELECT e FROM Equip e")
public class Equip implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="EQUIP_ID")
	private String equipId;

	@Column(name="EDETAIL_NAME3")
	private String edetailName3;

	@Column(name="EQUIP_COMP3")
	private String equipComp3;

	@Column(name="RDETAIL_PRICE3")
	private BigDecimal rdetailPrice3;

	//bi-directional many-to-one association to EquipType
	@ManyToOne
	@JoinColumn(name="ETYPE_ID")
	private EquipType equipType;

	public Equip() {
	}

	public String getEquipId() {
		return this.equipId;
	}

	public void setEquipId(String equipId) {
		this.equipId = equipId;
	}

	public String getEdetailName3() {
		return this.edetailName3;
	}

	public void setEdetailName3(String edetailName3) {
		this.edetailName3 = edetailName3;
	}

	public String getEquipComp3() {
		return this.equipComp3;
	}

	public void setEquipComp3(String equipComp3) {
		this.equipComp3 = equipComp3;
	}

	public BigDecimal getRdetailPrice3() {
		return this.rdetailPrice3;
	}

	public void setRdetailPrice3(BigDecimal rdetailPrice3) {
		this.rdetailPrice3 = rdetailPrice3;
	}

	public EquipType getEquipType() {
		return this.equipType;
	}

	public void setEquipType(EquipType equipType) {
		this.equipType = equipType;
	}

}